import { useContext } from 'react';
import { AudioChatServiceContext } from '@/components/AudioChatServiceProvider/context';

export const useWsUrl = () => {
  const { wsUrl, setWsUrl } = useContext(AudioChatServiceContext);
  return {
    wsUrl,
    setWsUrl,
  };
};
